package com.knife.hospital.service;

import com.knife.hospital.entity.UserPO;
import com.knife.hospital.mapper.UserPOMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserLoginServiceImpl implements UserLoginService{
    @Resource
    private UserPOMapper userPOMapper;

    public UserPO selectByNameAndPassword(String userName, String password) {
        return userPOMapper.selectByNameAndPassword(userName, password);
    }
}
